Skip to content

Towards v2#96

Merged
kaste merged 26 commits intomasterfrom
towards-2
Oct 5, 2025
Merged

Towards v2#96
kaste merged 26 commits intomasterfrom
towards-2

Conversation

@kaste
Copy link
Owner

@kaste kaste commented Jan 31, 2025

No description provided.

kaste added 23 commits February 3, 2025 11:03
Esp. do not set `times=1` in the `verify` signature but set the default
(in this case `Times(1)`) as a clause in the function body.

This is in preparation for a different default for `expect`.
Closes #55

This is a breaking change.

Introduces `MOCKITO_CONTEXT_MANAGERS_CHECK_USAGE` environment variable.
Set it to `"0"` to turn off the usage check.  Note that any set up
(explicit) expectation will still be checked.
@kaste kaste merged commit 78f9c9e into master Oct 5, 2025
44 checks passed
@kaste kaste deleted the towards-2 branch October 5, 2025 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant